<?php 
get_header();
?>
<div id="container">
	<div id="content">
<script type="text/javascript"><!--
google_ad_client = "<?php google_pub_id();?>";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_color_border = "ffffff";
google_color_bg = "ffffff";
google_color_link = "999966";
google_color_url = "808080";
google_color_text = "808080";
//--></script>

<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

		<br />
	
		<div class="post" id="post-<?php the_ID(); ?>">
			<h3 class="storytitle"><a href="<?php the_permalink() ?>" rel="bookmark">&nbsp;<?php the_title(); ?></a></h3>
			<div class="meta">&nbsp;<?php _e("Filed under:"); ?> <?php the_category(',') ?> &#8212; <?php the_author() ?> @ <?php the_time('M jS, Y') ?> <?php edit_post_link(__('Edit This')); ?></div>
	
			<div class="storycontent">
				<?php the_content(__('(more...)')); ?>
			</div>
	
			<div class="feedback">
		            <?php wp_link_pages(); ?>
				<?php comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)')); ?>		            
			</div>

			<div class="divider"></div>

		</div>

		<?php comments_template(); // Get wp-comments.php template ?>

		<?php endwhile; else: ?>
		<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
		<?php endif; ?>
	
		<div class="pagenavigation">
			<?php posts_nav_link(' &#8212; ', __('&laquo; Previous Page'), __('Next Page &raquo;')); ?>
		</div>
	</div>

	<div id="sidebar">
		<?php get_sidebar(); ?>
	</div>

	<div class="clear"></div>
</div>

<?php get_footer(); ?>
